package ssx.demo.feignmysqlcurd.control;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import ssx.demo.feignmysqlcurd.service.GetMysqlCURD;

@RestController
public class MysqlController {

    @Autowired
    private GetMysqlCURD getMysqlCURD;

    @RequestMapping("/test")
    public String testMysql(){
        String ra = getMysqlCURD.fun("{\"id\":\"1\"}", "ra");
        System.out.println(ra);
        return "执行result:"+ra;
    }

}
